#include "Vertice.h"

Vertice::Vertice(Vertex3D *v, int index){
        this->set_x(v->x());
        this->set_y(v->y());
        this->set_z(v->z());
        id=index;
}

int Vertice::get_index(){
        return id;
}

void Vertice::set_index(int i){
        id=i;
}
GLdouble 
Vertice::x ()
{
        return this->x();
}
GLdouble 
Vertice::y ()
{
        return this->y();
}
GLdouble 
Vertice::z ()
{
        return this->z();
}

